package com.base.library.manager;

import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.ColorFilter;

import com.bumptech.glide.load.model.ImageVideoWrapper;
import com.bumptech.glide.load.resource.drawable.GlideDrawable;

import java.io.InputStream;

/**
 * Created by enlong on 2016/12/15.
 */

public class WebpGifDrawable extends GlideDrawable{
    private InputStream inputStream;

    public WebpGifDrawable(ImageVideoWrapper source) {
        inputStream = source.getStream();
    }

    @Override
    public boolean isAnimated() {
        return false;
    }

    @Override
    public void setLoopCount(int loopCount) {

    }

    @Override
    public void start() {

    }

    @Override
    public void stop() {

    }

    @Override
    public boolean isRunning() {
        return false;
    }

    @Override
    public void draw(Canvas canvas) {

    }

    @Override
    public void setAlpha(int alpha) {

    }

    @Override
    public void setColorFilter(ColorFilter cf) {

    }

    @Override
    public int getOpacity() {
        return 0;
    }

    public int[] getData() {
        return new int[0];
    }

    public Bitmap getFirstFrame() {
        return null;
    }

    public void recycle() {

    }


}
